﻿using System.Collections.Generic;

namespace NAGFwk.BL
{
    public interface IBaseController< TEntity>
        where TEntity : class   
    {
        List<TEntity> GetAll();
        TEntity GetByID(int id);
        void Insert(TEntity obj);
        void DeleteLogical(int id);
        void Delete(TEntity obj);
        void DeleteLogical(TEntity obj);
        void Update(TEntity myObj);

    }
}
